Pi method